package com.wms.mapper;

import com.wms.entity.Resource;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface ResourceMapper extends IBaseMapper<Resource> {

    List<Resource> findTree();

    Resource findById(Long id);

    void delRole(List<Long> ids);

    void delAuthority(List<Long> ids);

    List<Resource> getMenuByUsername(String username);
}
